/*    */ package network;
/*    */ 
/*    */ import java.awt.BorderLayout;
/*    */ import java.awt.Button;
/*    */ import java.awt.Color;
/*    */ import java.awt.Dimension;
/*    */ import java.awt.FlowLayout;
/*    */ import java.awt.Frame;
/*    */ import java.awt.Label;
/*    */ import java.awt.Panel;
/*    */ import java.awt.SystemColor;
/*    */ import java.awt.Toolkit;
/*    */ import java.awt.event.ActionEvent;
/*    */ import java.awt.event.ActionListener;
/*    */ import java.awt.event.WindowEvent;
/*    */ 
/*    */ final class X4 extends Frame
/*    */   implements ActionListener
/*    */ {
/*    */   X1 xooo;
/*    */   private Button oxoo;
/*    */   private Label ooxo;
/*    */   private Panel ooox;
/*    */ 
/*    */   X4(X2 paramX2)
/*    */   {
/* 16 */     super("Network");
/*    */ 
/* 18 */     setBackground(SystemColor.control);
/* 19 */     setBackground(Color.black);
/* 20 */     enableEvents(64L);
/* 21 */     setResizable(false);
/* 22 */     setLayout(new BorderLayout());
/*    */ 
/* 24 */     this.ooox = new Panel();
/* 25 */     this.ooox.setBackground(SystemColor.control);
/* 26 */     this.ooox.setLayout(new FlowLayout());
/*    */ 
/* 28 */     this.ooxo = new Label("Click to add, drag to move.");
/*    */ 
/* 31 */     this.ooox.add(this.ooxo);
/*    */ 
/* 37 */     this.oxoo = new Button("Quit");
/* 38 */     this.oxoo.addActionListener(this);
/* 39 */     this.ooox.add(this.oxoo);
/*    */ 
/* 41 */     add(this.ooox, "North");
/*    */ 
/* 43 */     this.xooo = new X1();
/* 44 */     add(this.xooo, "Center");
/*    */ 
/* 46 */     this.xooo.xoxox(paramX2);
/*    */   }
/*    */ 
/*    */   public void addNotify() {
/* 50 */     super.addNotify();
/* 51 */     setSize(getPreferredSize());
/* 52 */     Dimension localDimension = Toolkit.getDefaultToolkit().getScreenSize();
/* 53 */     setLocation((localDimension.width - getSize().width) / 2, (localDimension.height - getSize().height) / 2);
/*    */   }
/*    */ 
/*    */   void xooxo(X6 paramX6)
/*    */   {
/* 59 */     this.xooo.xooxo(paramX6);
/*    */   }
/*    */ 
/*    */   public void actionPerformed(ActionEvent paramActionEvent)
/*    */   {
/* 67 */     if (paramActionEvent.getSource() == this.oxoo)
/* 68 */       System.exit(0);
/*    */   }
/*    */ 
/*    */   public void processWindowEvent(WindowEvent paramWindowEvent) {
/* 72 */     switch (paramWindowEvent.getID()) {
/*    */     case 201:
/* 74 */       System.exit(0);
/*    */     }
/*    */ 
/* 77 */     super.processWindowEvent(paramWindowEvent);
/*    */   }
/*    */ }

/* Location:           C:\Users\Justin\Desktop\pj2\
 * Qualified Name:     network.X4
 * JD-Core Version:    0.6.0
 */